package com.lxmes.gs.mapper;

import java.util.List;
import com.lxmes.gs.domain.WorkingHoursStatistics;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 工时统计Mapper接口
 * 
 * @author wdf
 * @date 2023-04-24
 */
public interface WorkingHoursStatisticsMapper extends BaseMapper<WorkingHoursStatistics>{
    /**
     * 查询工时统计
     * 
     * @param id 工时统计主键
     * @return 工时统计
     */
    public WorkingHoursStatistics selectWorkingHoursStatisticsById(Long id);

    /**
     * 查询工时统计列表
     * 
     * @param workingHoursStatistics 工时统计
     * @return 工时统计集合
     */
    public List<WorkingHoursStatistics> selectWorkingHoursStatisticsList(WorkingHoursStatistics workingHoursStatistics);

    /**
     * 新增工时统计
     * 
     * @param workingHoursStatistics 工时统计
     * @return 结果
     */
    public int insertWorkingHoursStatistics(WorkingHoursStatistics workingHoursStatistics);

    /**
     * 修改工时统计
     * 
     * @param workingHoursStatistics 工时统计
     * @return 结果
     */
    public int updateWorkingHoursStatistics(WorkingHoursStatistics workingHoursStatistics);

    /**
     * 删除工时统计
     * 
     * @param id 工时统计主键
     * @return 结果
     */
    public int deleteWorkingHoursStatisticsById(Long id);

    /**
     * 批量删除工时统计
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkingHoursStatisticsByIds(Long[] ids);

    /**
     * 通过工时统计主键获取${subTable.functionName}信息
     *
     * @param id 工时统计ID
     * @return 结果
     */
    public  List<WorkingHoursStatistics> selectWorkingHoursStatisticsByIds(Long[] ids);

}
